[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api026.nas"]

    GLOBAL _api_cmdline

[SECTION .text]

_api_cmdline:       ; int api_cmdline(char *buf, int maxsize);
    push ebx
    mov edx, 26
    mov ecx, [esp+12]       ; maxsize
    mov ebx, [esp+8]        ; buf
    int 40h
    pop ebx
    ret
